package com.hgw.Demo02CommandPattern.Exercises17_10_6;

/**
 * Data time:2021/12/16 23:33
 * StudentID:2019112118
 * Author:hgw
 * Description: 编辑命令，充当具体命令
 */
public class EditCommand implements Command{
    private BoardScreen boardScreen;

    public EditCommand(BoardScreen boardScreen) {
        this.boardScreen = boardScreen;
    }

    @Override
    public void execute() {
        boardScreen.edit();
    }
}
